#ifndef _GRAVITY_H
#define _GRAVITY_H

#include "Point3D.h"

class Gravity
{
public:
	Gravity(void);
	~Gravity(void);
	Point3D genPosition(Point3D oldPosition[4],float * ground);
	Point3D genPosition(Point3D oldLeftUp,Point3D oldRightDown,float * ground);
	void Stop();

private:
	Point3D v;
	Point3D a;
	float deltaT;
	int m_sceneL,m_sceneW,m_sceneH;
	float offsetX,offsetY,offsetZ;
};

#endif